//
// Created by 34649 on 2022/3/1.
//
#include "http_server.h"

int main(){
    //main thread;
    EventLoop loop;
    InetAddress listenAddr("0.0.0.0",2021);
    http::http_server server(&loop ,listenAddr);
    Logger::setLogLevel(muduo::Logger::INFO);//设置LOG等级
    server.setRootPath("assert");//设置web服务器根目录
    server.start();
    loop.loop();
    return 0;
}